package com.zq.zqplayer.mvvm.splash

import android.content.Intent
import android.os.Bundle
import com.ziq.base.base.BaseActivity
import com.ziq.base.extension.binding
import com.zq.zqplayer.MainActivity
import com.zq.zqplayer.databinding.ActivitySplashBinding

class SplashActivity : BaseActivity() {

    private val binding : ActivitySplashBinding by binding()

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding.root
        startActivity(Intent(this@SplashActivity, MainActivity::class.java))
        finish()
        overridePendingTransition(0, 0)
    }

}